import request from '@/utils/request'


export function getTable(grade_big_id) {
  return request({
    url: 'vip/gradeconfig/rank/list',
    method: 'post',
    data: { grade_big_id }
  })
}


export function gradeConfigAdd(data) {
  return request({
    url: 'vip/gradeconfig/rank/add',
    method: "post",
    data
  })
}

export function gradeConfigEdit(data) {
  return request({
    url: 'vip/gradeconfig/rank/save',
    method: "post",
    data
  })
}


export function getGift() {
  return request({
    url: 'vip/gradeconfig/reward/list',
    method: "post"
  })
}




